import { NavIndex } from '@grafana/data';

export const mockNavModel: NavIndex = {
  home: {
    id: 'home',
    text: 'Home',
    icon: 'home-alt',
    url: '/',
  },
  dashboards: {
    id: 'dashboards',
    text: '面板',
    subTitle: '管理仪表板和文件夹',
    icon: 'apps',
    url: '/dashboards',
    children: [
      {
        id: 'manage-dashboards',
        text: '浏览',
        icon: 'sitemap',
        url: '/dashboards',
      },
      {
        id: 'playlists',
        text: '播放列表',
        icon: 'presentation-play',
        url: '/playlists',
      },
      {
        id: 'snapshots',
        text: '快照',
        icon: 'camera',
        url: '/dashboard/snapshots',
      },
      {
        id: 'library-panels',
        text: '库面板',
        icon: 'library-panel',
        url: '/library-panels',
      },
      {
        id: 'new-dashboard',
        text: '新建仪表板',
        icon: 'plus',
        url: '/dashboard/new',
        hideFromTabs: true,
      },
      {
        id: 'new-folder',
        text: '新建文件夹',
        subTitle: '创建一个新文件夹来组织仪表板',
        icon: 'plus',
        url: '/dashboards/folder/new',
        hideFromTabs: true,
      },
      {
        id: 'import',
        text: '导入',
        subTitle: '从文件或Grafana.com导入仪表板',
        icon: 'plus',
        url: '/dashboard/import',
        hideFromTabs: true,
      },
    ],
  },
  'manage-dashboards': {
    id: 'manage-dashboards',
    text: '浏览',
    icon: 'sitemap',
    url: '/dashboards',
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  playlists: {
    id: 'playlists',
    text: '播放列表',
    icon: 'presentation-play',
    url: '/playlists',
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  snapshots: {
    id: 'snapshots',
    text: '快照',
    icon: 'camera',
    url: '/dashboard/snapshots',
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  'library-panels': {
    id: 'library-panels',
    text: '库面板',
    icon: 'library-panel',
    url: '/library-panels',
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  'new-dashboard': {
    id: 'new-dashboard',
    text: '新建仪表板',
    icon: 'plus',
    url: '/dashboard/new',
    hideFromTabs: true,
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  'new-folder': {
    id: 'new-folder',
    text: '新建文件夹',
    subTitle: '创建一个新文件夹来组织仪表板',
    icon: 'plus',
    url: '/dashboards/folder/new',
    hideFromTabs: true,
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  import: {
    id: 'import',
    text: '导入',
    subTitle: '从文件或Grafana.com导入仪表板',
    icon: 'plus',
    url: '/dashboard/import',
    hideFromTabs: true,
    parentItem: {
      id: 'dashboards',
      text: '仪表板',
      subTitle: '管理仪表板和文件夹',
      icon: 'apps',
      url: '/dashboards',
      children: [
        {
          id: 'manage-dashboards',
          text: '浏览',
          icon: 'sitemap',
          url: '/dashboards',
        },
        {
          id: 'playlists',
          text: '播放列表',
          icon: 'presentation-play',
          url: '/playlists',
        },
        {
          id: 'snapshots',
          text: '快照',
          icon: 'camera',
          url: '/dashboard/snapshots',
        },
        {
          id: 'library-panels',
          text: '库面板',
          icon: 'library-panel',
          url: '/library-panels',
        },
        {
          id: 'new-dashboard',
          text: '新建仪表板',
          icon: 'plus',
          url: '/dashboard/new',
          hideFromTabs: true,
        },
        {
          id: 'new-folder',
          text: '新建文件夹',
          subTitle: '创建一个新文件夹来组织仪表板',
          icon: 'plus',
          url: '/dashboards/folder/new',
          hideFromTabs: true,
        },
        {
          id: 'import',
          text: '导入',
          subTitle: '从文件或Grafana.com导入仪表板',
          icon: 'plus',
          url: '/dashboard/import',
          hideFromTabs: true,
        },
      ],
    },
  },
  'not-found': {
    text: '没有发现页面',
    subTitle: '404错误',
    icon: 'exclamation-triangle',
  },
  explore: {
    id: 'explore',
    text: '导出',
    subTitle: '导出你的数据',
    icon: 'compass',
    url: '/explore',
  },
  alerting: {
    id: 'alerting',
    text: '警告',
    subTitle: '警报规则和通知',
    icon: 'bell',
    url: '/alerting/list',
    children: [
      {
        id: 'alert-list',
        text: '警报规则',
        icon: 'list-ul',
        url: '/alerting/list',
      },
      {
        id: 'channels',
        text: '通知通道',
        icon: 'comment-alt-share',
        url: '/alerting/notifications',
      },
    ],
  },
  'alert-list': {
    id: 'alert-list',
    text: '警报规则',
    icon: 'list-ul',
    url: '/alerting/list',
    parentItem: {
      id: 'alerting',
      text: '警告',
      subTitle: '警报规则和通知',
      icon: 'bell',
      url: '/alerting/list',
      children: [
        {
          id: 'alert-list',
          text: '警报规则',
          icon: 'list-ul',
          url: '/alerting/list',
        },
        {
          id: 'channels',
          text: '通知通道',
          icon: 'comment-alt-share',
          url: '/alerting/notifications',
        },
      ],
    },
  },
  channels: {
    id: 'channels',
    text: '通知通道',
    icon: 'comment-alt-share',
    url: '/alerting/notifications',
    parentItem: {
      id: 'alerting',
      text: '警告',
      subTitle: '警报规则和通知',
      icon: 'bell',
      url: '/alerting/list',
      children: [
        {
          id: 'alert-list',
          text: '警报规则',
          icon: 'list-ul',
          url: '/alerting/list',
        },
        {
          id: 'channels',
          text: '通知通道',
          icon: 'comment-alt-share',
          url: '/alerting/notifications',
        },
      ],
    },
  },
  cfg: {
    id: 'cfg',
    text: '配置',
    subTitle: '组织：主组织',
    icon: 'cog',
    url: '/datasources',
    children: [
      {
        id: 'datasources',
        text: '数据源',
        icon: 'database',
        url: '/datasources',
      },
      {
        id: 'users',
        text: '用户',
        icon: 'user',
        url: '/org/users',
      },
      {
        id: 'teams',
        text: '团队',
        icon: 'users-alt',
        url: '/org/teams',
      },
      {
        id: 'plugins',
        text: '插件',
        icon: 'plug',
        url: '/plugins',
      },
      {
        id: 'org-settings',
        text: '首选项',
        icon: 'sliders-v-alt',
        url: '/org',
      },
      {
        id: 'apikeys',
        text: 'API密钥',
        icon: 'key-skeleton-alt',
        url: '/org/apikeys',
      },
    ],
  },
  datasources: {
    id: 'datasources',
    text: '数据源',
    icon: 'database',
    url: '/datasources',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  users: {
    id: 'users',
    text: '用户',
    icon: 'user',
    url: '/org/users',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  teams: {
    id: 'teams',
    text: '团队',
    icon: 'users-alt',
    url: '/org/teams',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  plugins: {
    id: 'plugins',
    text: '插件',
    icon: 'plug',
    url: '/plugins',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  'org-settings': {
    id: 'org-settings',
    text: '首选项',
    icon: 'sliders-v-alt',
    url: '/org',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  apikeys: {
    id: 'apikeys',
    text: 'API密钥',
    icon: 'key-skeleton-alt',
    url: '/org/apikeys',
    parentItem: {
      id: 'cfg',
      text: '配置',
      subTitle: '组织：主组织',
      icon: 'cog',
      url: '/datasources',
      children: [
        {
          id: 'datasources',
          text: '数据源',
          icon: 'database',
          url: '/datasources',
        },
        {
          id: 'users',
          text: '用户',
          icon: 'user',
          url: '/org/users',
        },
        {
          id: 'teams',
          text: '团队',
          icon: 'users-alt',
          url: '/org/teams',
        },
        {
          id: 'plugins',
          text: '插件',
          icon: 'plug',
          url: '/plugins',
        },
        {
          id: 'org-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/org',
        },
        {
          id: 'apikeys',
          text: 'API密钥',
          icon: 'key-skeleton-alt',
          url: '/org/apikeys',
        },
      ],
    },
  },
  admin: {
    id: 'admin',
    text: '服务器管理员',
    subTitle: '管理所有用户和组织',
    icon: 'shield',
    url: '/admin/users',
    hideFromTabs: true,
    children: [
      {
        id: 'global-users',
        text: '用户',
        icon: 'user',
        url: '/admin/users',
      },
      {
        id: 'global-orgs',
        text: '组织',
        icon: 'building',
        url: '/admin/orgs',
      },
      {
        id: 'server-settings',
        text: '设置',
        icon: 'sliders-v-alt',
        url: '/admin/settings',
      },
      {
        id: 'upgrading',
        text: '统计信息和许可证',
        icon: 'unlock',
        url: '/admin/upgrading',
      },
    ],
  },
  'global-users': {
    id: 'global-users',
    text: '用户',
    icon: 'user',
    url: '/admin/users',
    parentItem: {
      id: 'admin',
      text: '服务器管理员',
      subTitle: '管理所有用户和组织',
      icon: 'shield',
      url: '/admin/users',
      hideFromTabs: true,
      children: [
        {
          id: 'global-users',
          text: '用户',
          icon: 'user',
          url: '/admin/users',
        },
        {
          id: 'global-orgs',
          text: '组织',
          icon: 'building',
          url: '/admin/orgs',
        },
        {
          id: 'server-settings',
          text: '设置',
          icon: 'sliders-v-alt',
          url: '/admin/settings',
        },
        {
          id: 'upgrading',
          text: '统计信息和许可证',
          icon: 'unlock',
          url: '/admin/upgrading',
        },
      ],
    },
  },
  'global-orgs': {
    id: 'global-orgs',
    text: '组织',
    icon: 'building',
    url: '/admin/orgs',
    parentItem: {
      id: 'admin',
      text: '服务器管理员',
      subTitle: '管理所有用户和组织',
      icon: 'shield',
      url: '/admin/users',
      hideFromTabs: true,
      children: [
        {
          id: 'global-users',
          text: '用户',
          icon: 'user',
          url: '/admin/users',
        },
        {
          id: 'global-orgs',
          text: '组织',
          icon: 'building',
          url: '/admin/orgs',
        },
        {
          id: 'server-settings',
          text: '设置',
          icon: 'sliders-v-alt',
          url: '/admin/settings',
        },
        {
          id: 'upgrading',
          text: '统计信息和许可证',
          icon: 'unlock',
          url: '/admin/upgrading',
        },
      ],
    },
  },
  'support-bundles': {
    id: 'support-bundles',
    text: '支持捆绑包',
    icon: 'sliders-v-alt',
    url: '/support-bundles',
  },
  'server-settings': {
    id: 'server-settings',
    text: '设置',
    icon: 'sliders-v-alt',
    url: '/admin/settings',
    parentItem: {
      id: 'admin',
      text: '服务器管理员',
      subTitle: '管理所有用户和组织',
      icon: 'shield',
      url: '/admin/users',
      hideFromTabs: true,
      children: [
        {
          id: 'global-users',
          text: '用户',
          icon: 'user',
          url: '/admin/users',
        },
        {
          id: 'global-orgs',
          text: '组织',
          icon: 'building',
          url: '/admin/orgs',
        },
        {
          id: 'server-settings',
          text: '设置',
          icon: 'sliders-v-alt',
          url: '/admin/settings',
        },
        {
          id: 'upgrading',
          text: '统计信息和许可证',
          icon: 'unlock',
          url: '/admin/upgrading',
        },
      ],
    },
  },
  upgrading: {
    id: 'upgrading',
    text: '统计信息和许可证',
    icon: 'unlock',
    url: '/admin/upgrading',
    parentItem: {
      id: 'admin',
      text: '服务器管理员',
      subTitle: '管理所有用户和组织',
      icon: 'shield',
      url: '/admin/users',
      hideFromTabs: true,
      children: [
        {
          id: 'global-users',
          text: '用户',
          icon: 'user',
          url: '/admin/users',
        },
        {
          id: 'global-orgs',
          text: '组织',
          icon: 'building',
          url: '/admin/orgs',
        },
        {
          id: 'server-settings',
          text: '设置',
          icon: 'sliders-v-alt',
          url: '/admin/settings',
        },
        {
          id: 'upgrading',
          text: '统计信息和许可证',
          icon: 'unlock',
          url: '/admin/upgrading',
        },
      ],
    },
  },
  profile: {
    id: 'profile',
    text: '管理员',
    img: '/avatar/46d229b033af06a191ff2267bca9ae56',
    url: '/profile',
    children: [
      {
        id: 'profile-settings',
        text: '首选项',
        icon: 'sliders-v-alt',
        url: '/profile',
      },
      {
        id: 'change-password',
        text: '更改密码',
        icon: 'lock',
        url: '/profile/password',
      },
      {
        id: 'sign-out',
        text: '注销',
        icon: 'arrow-from-right',
        url: '/logout',
        target: '_self',
        hideFromTabs: true,
      },
    ],
  },
  'profile-settings': {
    id: 'profile-settings',
    text: '首选项',
    icon: 'sliders-v-alt',
    url: '/profile',
    parentItem: {
      id: 'profile',
      text: '管理员',
      img: '/avatar/46d229b033af06a191ff2267bca9ae56',
      url: '/profile',
      children: [
        {
          id: 'profile-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/profile',
        },
        {
          id: 'change-password',
          text: '更改密码',
          icon: 'lock',
          url: '/profile/password',
        },
        {
          id: 'sign-out',
          text: '注销',
          icon: 'arrow-from-right',
          url: '/logout',
          target: '_self',
          hideFromTabs: true,
        },
      ],
    },
  },
  'change-password': {
    id: 'change-password',
    text: '更改密码',
    icon: 'lock',
    url: '/profile/password',
    parentItem: {
      id: 'profile',
      text: '管理员',
      img: '/avatar/46d229b033af06a191ff2267bca9ae56',
      url: '/profile',
      children: [
        {
          id: 'profile-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/profile',
        },
        {
          id: 'change-password',
          text: '更改密码',
          icon: 'lock',
          url: '/profile/password',
        },
        {
          id: 'sign-out',
          text: '注销',
          icon: 'arrow-from-right',
          url: '/logout',
          target: '_self',
          hideFromTabs: true,
        },
      ],
    },
  },
  'sign-out': {
    id: 'sign-out',
    text: '注销',
    icon: 'arrow-from-right',
    url: '/logout',
    target: '_self',
    hideFromTabs: true,
    parentItem: {
      id: 'profile',
      text: '管理员',
      img: '/avatar/46d229b033af06a191ff2267bca9ae56',
      url: '/profile',
      children: [
        {
          id: 'profile-settings',
          text: '首选项',
          icon: 'sliders-v-alt',
          url: '/profile',
        },
        {
          id: 'change-password',
          text: '更改密码',
          icon: 'lock',
          url: '/profile/password',
        },
        {
          id: 'sign-out',
          text: '注销',
          icon: 'arrow-from-right',
          url: '/logout',
          target: '_self',
          hideFromTabs: true,
        },
      ],
    },
  },
  help: {
    id: 'help',
    text: 'Help',
    subTitle: 'Grafana v8.5.0-pre (f1c4da095b)',
    icon: 'question-circle',
    url: '#',
  },
};
